package com.handinfo.engine.net;

/**
 * @author Xia Mingwei
 * @version 1.0
 */
public class GameProtocol
{

	static public final int CONNECTION_CREATED = 0x00000ff0;
	static public final int CONNECTION_BROKEN = 0x00000ff1;
	static public final int CONNECTION_MESSAGE = 0x00000ff2;
	static public final int CONNECTION_GET_WMA_INFO = 0x00000ff3;

	public static final int C_DEFAULT = 101;
	public static final int CS_HEARTBEAT = 103;
	// public static final int SC_HINT = 301;// 服务器返回提示信息
	public static final int SC_HINT_A = 31;
	public static final int SC_HINT_B = 32;
	public static final int SC_HINT_C = 33;
	public static final int SC_HINT_D = 34;
	public static final int SC_HINT_E = 35;
	public static final int SC_HINT_F = 36;
//	public static final int SC_CONFIRMATION_PROMPT = 40;//确认提示、谢亮注释
	public static final int SC_HEARTBEAT = 303;
	public static final int SC_DELAYSTIMES = 157;//时间组

	public static final int SC_INTERACTIVE = 200;// 统一交互返回指令
	public static final int CS_ROLE_VIEW = 500;// 查看玩家信息
	public static final int SC_ROLE_MONEY = 711;// 增删玩家金钱0 , 经验1
	public static final int SC_ROLE_EXP = 734;

	/***************************************
	 * 用户中心指令集
	 ***************************************/
	// CS - 客户端 -> 服务器
	public static final int CS_USER_AUTH = 101;// 第一次认证
	public static final int CS_USER_REAUTH = 110;// 重新认证
	public static final int CS_USER_ROLE_LIST = 104;// 获取人物列表
	public static final int CS_USER_CREATE_ROLE = 105;// 创建角色
	public static final int CS_USER_SERVER_LIST = 107;// 获取服务器列表
	public static final int CS_USER_SELECT_ROLE = 111;// 选择角色
	public static final int CS_USER_WORLD_LIST = 116;// 获取世界列表
	public static final int CS_USER_DISCONNECT_ANOTHER = 117;// 断开当前角色的其他连接
	public static final int CS_USER_INFORMATION = 504;// 角色信息
//	public static final int CS_USER_SKILL_INFORMATION = 507;// 技能信息
	public static final int CS_USER_DELETE_ROLE = 119;// 删除角色
	public static final int CS_USER_FIND_ROLE = 121;// 取消删除角色
	public static final int CS_USER_REGISTER = 125;// 注册账号
	public static final int CS_USER_AUTO_REGISTER = 127;// 自动注册
	public static final int CS_USER_SELECT_WORLD = 131;//进入世界
	public static final int CS_USER_CHANGE_PASSWORD = 137;//修改密码
	public static final int CS_USER_BINDING = 138;//账号绑定
	public static final int CS_USER_UNBIND = 139;//解除绑定
	public static final int CS_USER_RETRIEVE_PASSWORD = 143;//找回密码

	// SC - 服务器 -> 客户端
	public static final int SC_USER_AUTH = 302;// 第一次认证
	public static final int SC_USER_ROLE_LIST = 304;// 人物列表
	public static final int SC_USER_CREATE_ROLE = 305;// 创建人物
	public static final int SC_USER_SERVER_LIST = 306;// 服务器列表
	public static final int SC_USER_SELECT_ROLE = 307;// 选择角色
	public static final int SC_USER_WORLD_LIST = 309;// 世界列表
	public static final int SC_USER_INFORMATION = 702;// 角色信息
//	public static final int SC_USER_SKILL_INFORMATION = 705;// 技能信息
	public static final int SC_USER_DELETE_ROLE = 317;// 删除角色
	public static final int SC_USER_FIND_ROLE = 318;// 取消删除角色
	public static final int SC_USER_REGISTER = 366;// 注册账号
	public static final int SC_USER_AUTO_REGISTER = 367;// 自动注册
	public static final int SC_USER_SELECT_WORLD = 379;//进入世界
	public static final int SC_USER_CHANGE_PASSWORD = 381;//修改密码
	public static final int SC_USER_BINDING = 382;//账号绑定
	public static final int SC_USER_UNBIND = 383;//解除绑定
	public static final int SC_USER_RETRIEVE_PASSWORD = 388;//找回密码
	public static final int SC_NPC_USER_CHANGE_PASSWORD = 603;//打开NPC功能上的修改密码
	public static final int SC_NPC_USER_BINDING = 604;//打开NPC功能上的账号绑定
	public static final int SC_NPC_USER_RETRIEVE_PASSWORD = 605;//打开NPC功能上的找回密码
	public static final int SC_NPC_USER_UNBIND = 606;//打开NPC功能上的解除绑定

	public static final int CS_USER_REPEAT = 2000;// 重复登录
	public static final int CS_USER_OFFLINE = 2004;// 角色下线
	// public static final int CS_USER_DELETE = 2005;//删除角色
	public static final int C_USER_RESEL = 124;// 重新选择角色
	public static final int S_USER_RESEL = 377;// 重新选择角色
	public static final int S_USER_TUOLI = 513;// 脱离卡死
	/*******************************************
	 * 排行
	 *********************************************/
	public static final int CS_RANKINGLIST_FAMILY = 471;//家族排行
	public static final int SC_RANKINGLIST_FAMILY = 344;
	public static final int CS_RANKINGLIST_LIVEL = 40035;// 等级排行
	public static final int SC_RANKINGLIST_LIVEL = 380;// 等级排行
	public static final int CS_RANKINGLIST_WEALTH = 40053;// 财富排行
	public static final int SC_RANKINGLIST_WEALTH = 391;
	public static final int CS_RANKINGLIST_KILL = 40061;//击杀排行
	public static final int SC_RANKINGLIST_KILL = 396;
	public static final int CS_RANKINGLIST_CONTRIBUTION = 40054;//贡献排行
	public static final int SC_RANKINGLIST_CONTRIBUTION = 392;
	public static final int CS_RANKINGLIST_MILITARY_EXPLOITS = 40055;//战功排行
	public static final int SC_RANKINGLIST_MILITARY_EXPLOITS = 393;
	public static final int CS_RANKINGLIST_COLLECTION = 40058;//采集排行
	public static final int SC_RANKINGLIST_COLLECTION = 395;
	public static final int CS_RANKINGLIST_ATTACK = 40056;//攻伐排行
	public static final int SC_RANKINGLIST_ATTACK = 394;
	public static final int CS_RANKINGLIST_SOCIAL_CONTACT = 40062;//社交排行
	public static final int SC_RANKINGLIST_SOCIAL_CONTACT = 397;
	/***************************************
	 * 社交系统
	 ***************************************/
	public static final int CS_SOCIAL_ID_ADD = 420;// 按ID添加玩家
	public static final int SC_SOCIAL_ID_ADD = 311;// 按ID添加玩家

	public static final int CS_SOCIAL_NAME_ADD = 433;// 按名字添加玩家

	public static final int CS_SOCIAL_CONFIRMATION = 421;// 添加玩家确认信息
	public static final int SC_SOCIAL_CONFIRMATION = 312;// 添加玩家确认信息

	public static final int CS_SOCIAL_DELETE = 422;// 删除玩家
	public static final int SC_SOCIAL_DELETE = 313;// 删除玩家

	public static final int CS_SOCIAL_LIST = 429;// 请求列表
	public static final int SC_SOCIAL_LIST = 310;// 请求列表

	public static final int SC_SOCIAL_AUTOADDFRIEND= 398; //系统自动添加好友
	/*****************************************
	 * 仇敌指令
	 *****************************************/
	public static final int CS_SOCIAL_ENEMY_ENEMYLIST = 452; // 查看仇敌列表
	public static final int SC_SOCIAL_ENEMY_ENEMYLIST = 326; // 查看仇敌列表
	public static final int CS_SOCIAL_ENEMY_ENEMYINFO = 453;// C查看仇敌的详细信息
	public static final int SC_SOCIAL_ENEMY_ENEMYINFO = 327;// 查看仇敌的详细信息
	public static final int CS_SOCIAL_ENEMY_QUERY_POSITION = 454; // 仇敌的具体位置
	public static final int SC_SOCIAL_ENEMY_QUERY_POSITION = 328; // 仇敌的具体位置
	public static final int CS_SOCIAL_ENEMY_DELETE = 455; // 删除仇敌
	public static final int SC_SOCIAL_ENEMY_DELETE = 330; // 删除仇敌
	public static final int CS_SOCIAL_ENEMY_WANTED_POSTER = 551; // 发送通缉令
	public static final int SC_SOCIAL_ENEMY_WANTED_POSTER = 719;// 发送通缉令
	public static final int CS_SOCIAL_ENEMY_LOCK = 457; // 锁定
	public static final int SC_SOCIAL_ENEMY_LOCK = 332;// 锁定
	/***************************************
	 * 同屏指令集
	 ***************************************/
	// CS - 客户端 -> 服务器
	public static final int CS_SCENE_INFORMATION = 505;// 场景信息
	// SC - 服务器 -> 客户端
	public static final int SC_SCENE_CONFIRMATION = 715;// 场景确认信息
	public static final int SC_SCENE_INFORMATION = 703;// 场景信息
	public static final int SC_SCENE_NPC_STATUS = 709;// NPC状态,0不显示,1黄问号,2蓝问号,4黄叹号,8蓝叹号,16灰问号
	public static final int SC_SCENE_UPGRADE = 710;// 升级
	public static final int SC_UPDATE_JOB = 701;// 更新玩家职业
	public static final int SC_UPDATE_MAX_JQ = 716;// 更新剑客最大剑气值
	public static final int SC_UPDATE_FACTION = 728;//更新玩家阵营

	public static final int SC_SCENE_POSITION_REVISE = 733;//模拟器加速 坐标修正

	public static final int CS_SCENE_MAP = 558;// 场景地图
	public static final int SC_SCENE_MAP = 723;

	public static final int CS_SCENE_TRANSFER = 512;//世界地图切换

	public static final int CS_SCENE_MOVE = 3001;// 角色移动
	public static final int CS_SCENE_UPDATE = 3002;// 同屏更新
	public static final int CS_SCENE_CHANGE = 3003;// 切换场景
	public static final int CS_SCENE_CHANGE_FINISHED = 3004;// 切换场景完成
	public static final int CS_SCENE_REQUEST_RESOURCE = 3005;// 请求资源
	public static final int CS_SCENE_BATTLE_UPDATE = 5001;// 战斗同屏

	public static final int CS_SCENE_PATHFINDING = 3006;// 任务寻路
	public static final int CS_SCENE_DELIVERY = 602;//直接传送

	public static final int SC_DEAD_POPUPS = 5222;// 死亡后弹出窗口
	public static final int SC_REVIVE_CONFIRMATION = 5223;// 他人复活确认
	public static final int CS_REVIVE_AGREE = 5224;// 确认复活
	public static final int CS_REVIVE_POS = 5225;// 原地复活

	public static final int SC_SCENE_ADD_ACTOR = 1001; //同屏添加Actor
	public static final int SC_SCENE_DELETE_ACTOR = 1002; //同屏删除Actor
	public static final int SC_SCENE_UPDATE_ACTOR_DATA = 1003; //同屏更新Actor基础
	public static final int SC_SCENE_UPDATE_ACTOR_FIGURE = 1004; //同屏更新Actor形象
	public static final int SC_SCENE_UPDATE_ITEM_PICKER = 1005; //同屏更新道具拾取权

	public static final int SC_SCENE_UPDATE_DEFICIENCY = 1006;//同屏缺失请求

	/***************************************
	 * 组队指令集
	 ***************************************/

	public static final int CS_TEAM_FOLLOWLEADER = 5104;// 跟随队长

	public static final int CS_TEAM_REQUESTTEAM = 442;// 邀请组队、请求组队、
	public static final int SC_TEAM_SUCCEED = 319;// 服务器发回组队是否成功
	public static final int SC_TEAM_AGREE = 320; // 组队确认
	public static final int CS_TEAM_ACCEPTTEAM = 443; // 是否同意组队
	public static final int CS_TEAM_TEAMALLMSG = 444; // 全队的信息
	public static final int SC_TEAM_MESSAGE = 321; // 全队信息
	public static final int CS_TEAM_QUITTEAM = 445;// 退出组队
	public static final int SC_TEAM_QUITTEAM = 322;// 退队是否成功
	public static final int CS_TEAM_LEADERHANDLE = 446;// 队长操作
	public static final int SC_TEAM_LEADERHANDLE = 323; // 队长操作是否成功
	public static final int CS_TEAM_TEAMAUTOCREATE = 447;// 自动组队
	public static final int SC_TEAM_TEAMAUTOCREATE = 324;// 自动组队是否成功
	public static final int SC_TEAM_TEAMLEADERCHANGE = 325;// 队伍变更

	public static final int CS_TEAM_APPLYJOIN = 450;// 申请加入队伍
	public static final int SC_TEAM_APPLYJOIN = 338;// 申请入队是否成功

	public static final int CS_TEAM_TEAMNEAR = 462;// cs附近队伍
	public static final int SC_TEAM_TEAMNEAR = 339;// sc附近队伍

	public static final int SC_TEAM_SYNCHRO = 3010;// 队伍同屏信息

	public static final int CS_TEAM_FIRSTLOGIN = 40019; // 上线获得队伍信息
	/***************************************
	 * 坐骑指令集
	 **************************************/
	public static final int CS_RIDE_STARTRIDE = 6021; // 上坐骑
	public static final int SC_RIDE_ISSTARTRIDE = 6021; // 是否可以上坐骑
	public static final int CS_RIDE_OVERRIDE = 6022; // 完成上坐骑
	public static final int SC_RIDE_OVERRIDE = 6022;// 完成上坐骑
	public static final int CS_RIDE_CLOSERIDE = 6023; // 下坐骑
	public static final int SC_RIDE_CLOSERIDE = 6023; // 下坐骑
	/***************************************
	 * 洞府指令集
	 ***************************************/
	public static final int CS_DONGFU_INTO_DONGFU = 40002; // 进入洞府
	public static final int SC_DONGFU_INTO_DONGFU = 368; // 进入洞府界面显示数据
	public static final int CS_DONGFU_OUT_DONGFU = 17002;// 退出洞府
	public static final int SC_DONGFU_OUT_DONGFU = 17002;// 退出洞府
	public static final int CS_DONGFU_REAP_DONGFU = 17003;// 收获
	public static final int SC_DONGFU_REAP_DONGFU = 17003;// 收获
	public static final int CS_DONGFU_getPropMsg = 17004;// 得到将要生产的道具信息
	public static final int SC_DONGFU_getPropMsg = 17004;// 得到将要生产的道具信息
	public static final int CS_DONGFU_START_PRODUCTION = 17005; // 开始生产
	public static final int SC_DONGFU_START_PRODUCTION = 17005; // 开始生产
	public static final int CS_DONGFU_ADD_SPEED = 17008; // 加速
	public static final int SC_DONGFU_ADD_SPEED = 17008; // 加速
	public static final int CS_DONGFU_WATERING = 40008; // 浇灌
	public static final int SC_DONGFU_WATERING = 369; // 浇灌
	public static final int CS_DONGFU_LOOKMSG = 40023; // 查看浇水人信息
	public static final int SC_DONGFU_LOOKMSG = 378;
	public static final int CS_DONGFU_GONGFA = 40043; //发起攻伐
	public static final int SC_DONGFU_GONGFA = 385; //攻伐返回
	public static final int CS_DONGFU_GONGFA_MSG = 40048; //发送查看攻伐记录
	public static final int SC_DONGFU_GONGFA_MSG = 386; //接收洞府攻伐记录
	public static final int CS_DONGFU_GONGFALIST = 40049; //发送攻伐列表请求
	public static final int SC_DONGFU_GONGFALIST = 387; //接收攻伐列表
	public static final int CS_DONGFU_SPEED_ASK = 40050;//洞府加速请求
	public static final int SC_DONGFU_SPEED_ASK = 389;//洞府加速请求
	public static final int CS_DONGFU_SPEEDUP_YUANBAO = 40051;//洞府加速扣钱确认
	public static final int SC_DONGFU_SPEEDUP_YUANBAO = 390;//洞府加速扣钱确认

	public static final int SC_ACTORROLE_VIM=756; //精力值
	/***************************************
	 * 任务指令集
	 ***************************************/
	// CS - 客户端 -> 服务器
	public static final int CS_TASK_NPC_VIEW = 510;// 查看NPC任务
	public static final int CS_TASK_ROLE_VIEW = 506;// 查看玩家任务详细信息
	// SC - 服务器 -> 客户端
	public static final int SC_TASK_NPC_VIEW = 708;// NPC任务详细信息
	public static final int SC_TASK_ROLE_VIEW = 704;// 玩家任务详细信息

	public static final int SC_TASK_UPDATE_STATUS = 720;// 更新玩家身上状态

	public static final int SC_TASK_HINT_PATHFINDING = 8000;// 任务寻路提示
	public static final int SC_JUMP_DOWNLOAD = 8001;

	// public static final int CS_TASK_DEFAULT = 8000;// 任务通用默认指令
	public static final int CS_TASK_BEGIN = 552;// 接受任务
	public static final int CS_TASK_ABORT = 553;// 放弃任务
	public static final int CS_TASK_FINISH = 554;// 完成任务
	public static final int CS_TASK_ROLE_LIST = 555;// 请求玩家任务列表
	public static final int CS_TASK_UPDATE = 8200;// 更新任务信息

	/***************************************
	 * NPC
	 ***************************************/
	public static final int CS_NPC_LIST = 509;// 点选NPC
	public static final int CS_NPC_INTERACT_END = 511;// 互动任务结束
	public static final int CS_NPC_DIALOG = 4002;// 对话
	public static final int CS_NPC_BUSINESS = 4003;// 买卖
	public static final int CS_NPC_REPAIR = 4004;// 修理
	public static final int CS_NPC_INLAY = 4005;// 镶嵌
	public static final int CS_NPC_COMBAT_SKILLS = 4006;// 战斗技能
	public static final int CS_NPC_STUDY_LIFE_SKILLS = 4007;// 学习生活技能
	public static final int CS_NPC_FORGET_LIFE_SKILLS = 4008;// 遗忘生活技能
	public static final int SC_NPC_LIST = 707;// 点选NPC NPC列表
	public static final int SC_NPC_INTERACT = 712;// 点选NPC 互动任务
	public static final int SC_NPC_INTERACT_BREAK = 713;// 互动任务打断
	public static final int SC_NPC_AUCTION_SAIL = 5601;// 点选NPC 互动任务,打开拍卖菜单

	/**************************** Npc交易 **************************************/
	public static final int SC_NPC_SHOP_LIST = 13000;
	public static final int SC_NPC_SHOP_BUY = 13001;
	public static final int SC_NPC_SHOP_SAIL = 13002;
	public static final int C_NPC_SAIL_ENTER = 13104;//打开Npc贩卖界面
	public static final int S_NPC_SAIL_ENTER = 13104;//打开Npc贩卖界面
	/**************************** Npc修理 **************************************/
	public static final int CS_NPC_FIX_ENTER = 13100;//打开Npc修理界面
	public static final int SC_NPC_FIX_EQUIP = 13101;//修理单件装备
	public static final int SC_NPC_FIX_EQUIPS = 13102;//修理装备栏道具
	public static final int SC_NPC_FIX_ALL = 13103;//修理所有装备（背包，装备栏）
	public static final int S_NPC_EQUIP_FIX_ALERT = 735;//装备耐久过低提示
	/***************************************
	 * 气泡
	 ***************************************/
	public static final int S_INTERACT = 721;
	public static final int C_INTERACT = 556;

	/***************************************
	 * 商城
	 ***************************************/
	public static final int CS_OPEN_MARKET = 20000;//请求开启商城
	public static final int CS_BUY_ITEM_WITH_MUL_MONEY = 20001;//通过银票/元宝购买道具
	public static final int CS_PRESENT_ITEM_WITH_MUL_MONEY = 20002;//通过银票/元宝购买道具并赠送
	public static final int CS_BUY_FUN_WITH_MUL_MONEY = 20004 ;//消耗元宝，银票购买某功能
	public static final int S_ACTORITEM_BUY_ALERT = 20003;//当使用某功能的时候，如果背包中无此道具，服务器主推道具信息提示购买
	public static final int S_RMB_GET_ITEM_UP = 160;//当使用某功能的时候，如果背包中无此道具，服务器主推道具信息提示购买
	public static final int S_RMB_GET_ITEM_DOWN = 30909;//当使用某功能的时候，如果背包中无此道具，服务器主推道具信息提示购买
	/***************************************
	 * 充值
	 ***************************************/
	public static final int CS_OPEN_CHONGZHI = 21000;//请求开启充值
	public static final int CS_CHONGZHI_MIANER = 21001;//面额
	public static final int CS_CHONGZHI_CONFIG = 21002;//充值完成提示
	public static final int CS_QUERY_CHONGZHI = 21003;//查询元宝及充值记录
	public static final int CS_QUERY_YUANBAO_CONSUME = 21004;//查询元宝及消费记录

	/***************************************
	 * 生活技能
	 ***************************************/
	public static final int CS_LIFE_SKILLS_VIEW = 11001;// 查看生活技能
	public static final int CS_LIFE_SKILLS_STUDY = 11002;// 学习生活技能
	public static final int CS_LIFE_SKILLS_FORGET = 11003;// 遗忘生活技能

	public static final int CS_LIFE_SKILLS_CAVES_INTO = 11004;// 进入洞府
	public static final int CS_LIFE_SKILLS_CAVES_QUIT = 11005;// 退出洞府
	public static final int CS_LIFE_SKILLS_CAVES_UPDATE = 11006;// 更新洞府生产
	public static final int CS_LIFE_SKILLS_CAVES_CANCEL = 11007;// 取消生产
	public static final int CS_LIFE_SKILLS_CAVES_HARVEST = 11008;// 收获生产
	public static final int CS_LIFE_SKILLS_CAVES_KNOW = 11009;// 已学生产
	public static final int CS_LIFE_SKILLS_CAVES_PRODU = 11010;// 使用生产技能
	public static final int CS_LIFE_SKILLS_CAVES_FINISH = 11011;// 完成生产技能
	public static final int CS_LIFE_SKILLS_CAVES_SELECT = 11013;// 选择生产技能
	public static final int CS_LIFE_SKILLS_CAVES_SELF_STATUS = 11014;// 自己的洞府状态

	/***************************************
	 * 玩家属性
	 ***************************************/
	public static final int CS_ATT = 14001;// 玩家属性
	public static final int CS_ATT_OTHER = 145;// 其他玩家属性

	/***************************************
	 * 教学
	 ***************************************/
	public static final int S_TEACH = 22000;//通用闪动教学
	/***************************************
	 * 攻略
	 ***************************************/
	public static final int CS_GONGLUE = 23000;//攻略

	/** 一键任务 */
    public static final int CS_ONT_TASK = 609;//一键任务

    /** 自动吃药 */
    public static final int CS_AUTO_EAT = 700;//自动吃药

	/**************************** UIMBag **************************************/
	// 背包的通用操作
	public static final int CS_ACTORITEM_INFOS = 6000;// （10角色背包，20装备背包,30仓库背包，40：交易，50宠物背包）信息
	public static final int CS_ACTORITEM_USE = 6002;// 使用道具
	public static final int CS_ACTORITEM_DESTORY = 6003;// 销毁道具
	public static final int CS_ACTORITEM_DISINTEGRATE = 6004;// 拆分道具
	public static final int CS_ACTORITEM_MOVE = 6005;// 移动道具
	public static final int CS_ACTORITEM_EQUIP = 6006;// 装备道具到装备栏
	public static final int CS_ACTORITEM_UNINSTALL = 6007;// 卸载道具到背包栏
	public static final int CS_ACTORITEM_DETAIL = 6008;// 详细描述
	public static final int CS_ACTORITEM_DETAIL_AUCTION = 6108;// 详细描述
	public static final int CS_ACTORITEM_DETAIL_OTHER = 146;// 详细描述
	public static final int CS_ACTORITEM_TRIM = 6009;// 整理
	public static final int CS_ACTORITEM_KUORONG = 6010;// 扩容
	public static final int CS_ACTORITEM_JIEBANG = 6119;// 解绑
	public static final int CS_ACTORITEM_CHAKANCHENGPIN = 6600;//查看成品
	public static final int CS_ACTORITEM_CHAKANCAILIAO = 6600;//查看材料
	public static final int SC_ACTORITEM_CHAKANCAILIAO = 6601;

	//
	public static final int CS_ACTORITEM_BAOSHI_HECHENG = 6011;// 宝石合成
	public static final int CS_ACTORITEM_ZUOQI_DRIVE = 6012;// 坐骑 骑乘
	public static final int CS_ACTORITEM_BAOSHI_XIANGQIAN = 6013;// 宝石镶嵌
	public static final int CS_ACTORITEM_NIZI_TIQU = 6014;// 镊子提取宝石(精确提取)
	public static final int CS_ACTORITEM_NOR_TIQU = 6030;//普通提取
	public static final int CS_ACTORITEM_RESOLVE = 6031;//道具分解
	//
	public static final int CS_ACTORITEM_NUM_OPEN = 6015;// 背包层开启个数
	public static final int CS_ACTORITEM_DETAIL_NPCSHOP = 6016;// Npc商店查看道具详情
	//
	public static final int CS_ACTORITEM_QIANGHUA = 6018;// 强化
	public static final int CS_ACTORITEM_QIANGHUA_SPEC = 6118;// 强化特定的种类
	public static final int CS_ACTORITEM_QIANGHUA_ENTER = 6019;// 强化入口
	public static final int CS_ACTORITEM_QIANGHUA_INFOS = 6020;// 强化所需数据
	public static final int CS_ACTORITEM_QIANGHUA_NEW = 6218;// 强化特定的种类
	public static final int CS_ACTORITEM_QIANGHUA_INFOS_NEW = 6220;// 强化所需数据
	//
	public static final int CS_ACTORITEM_LIMIT = 6024;// 道具使用限制
	public static final int CS_ACTORITEM_KUORONG_ALERT = 6025;// 扩容提示

	/**************************** 交易 **************************************/
	public static final int CS_DEAL_REQUEST = 6201;// 请交交易(玩家A向server发交易请求/server向A发起交易请求响应)
	public static final int S_DEAL_REQUEST = 6202;// 请交交易（server向A发起交易请求）
	public static final int CS_DEAL_RESPONESE = 6203;// B to
	// Server响应交易连接请求，Server
	// to B 发送响应
	public static final int S_DEAL_RESPONESE = 6204;// Server to A 响应
	public static final int CS_DEAL_GOODS_LAYUP_SELF = 6205;// A/B将背包数据放到交易栏，server将A/B
	public static final int S_DEAL_GOODS_LAYUP_OTHER = 6206;// Server 将B/A
	// 放置到交易栏
	public static final int CS_DEAL_GOODS_LAYDOWN_SELF = 6207;// A/B将交易栏放到背包，server将A/B
	public static final int S_DEAL_GOODS_LAYDOWN_OTHER = 6208;// Server 将B/A
	// 放置到背包栏
	public static final int CS_DEAL_MONEY_SELF = 6209;// A/B将金钱，server将A/B
	public static final int S_DEAL_MONEY_OTHER = 6210;// Server 将B/A 放置到金钱
	public static final int CS_DEAL_CONFIG = 6211;// 确定交易ATOS，STOA
	public static final int S_DEAL_CONFIG = 6212;// STOB
	public static final int CS_DEAL_CANCEL = 6213;// 取消交易ATOS，STOA
	public static final int S_DEAL_CANCEL = 6214;// STOB
	/**************************** 拍卖 **************************************/
	public static final int C_AUCTION_SEARCH = 470;// 搜索拍卖道具，获得拍卖项列表
	public static final int S_AUCTION_SEARCH = 343;// 搜索拍卖道具，获得拍卖项列表
	public static final int C_AUCTION_DETAIL = 469;// 拍卖想详情
	public static final int S_AUCTION_DETAIL = 342;// 拍卖想详情
	public static final int C_AUCTION_YIKOUJIA = 466;// 一口价购买道具
	public static final int S_AUCTION_YIKOUJIA = 340;// 一口价购买道具
	public static final int C_AUCTION_CANCEL = 468;//
	public static final int S_AUCTION_CANCEL = 341;//
	public static final int CS_AUCTION_SAIL = 5602;// 放置拍卖道具,将道具进行拍卖
	public static final int CS_AUCTION_OPEN_SAIL = 5603;// 开启
	public static final int C_AUCTION_SEARCH_CLOSE = 483;// 搜索拍卖道具，获得拍卖项列表
	//
	/**************************** 邮件 **************************************/
	public static final int CS_MAIL_SENDMAIL = 7001;
	public static final int C_MAIL_MAILLIST = 458;
	public static final int S_MAIL_MAILLIST = 333;
	public static final int C_MAIL_MAILDETAIL = 459;
	public static final int S_MAIL_MAILDETAIL = 334;
	public static final int S_MAIL_WARN = 335;
	public static final int C_MAILLIST_DELETE = 460;
	public static final int S_MAILLIST_DELETE = 336;
	public static final int CS_MAIL_ACC = 7002;// 收藏邮件
	public static final int C_MAILLIST_COLLECT_MAIL = 461;// 收藏邮件
	public static final int S_MAILLIST_COLLECT_MAIL = 337;// 收藏邮件

	public static final int C_MAIL_FAMILY = 40018;// 给家族发信
	public static final int S_MAIL_FAMILY = 376;// 家族回信反馈

	/**************************** 宠物 **************************************/
	public static final int C_PET_LOOKUP_GOODS = 9000;// 查看宠物背包道具

	public static final int C_PET_DESTORY_GOODS = 9001;// 销毁宠物背包道具
	public static final int C_PET_MOVE = 9002;// 宠物背包道具转移到角色背包
	public static final int CS_PET_LIST = 9003;// 宠物列表
	public static final int C_PET_ABANDON = 9004;// 丢弃宠物
	public static final int C_PET_CHANGE = 9005;// 修改宠物
	/**************************** 聊天 **************************************/
	public static final int CS_CHATITEM_INFOS = 10000;// 获取聊天记录（创建或更新）
	public static final int CS_CHATITEM_COMMIT_ID = 430;// 提交聊天记录,通过Id
	public static final int CS_CHATITEM_COMMIT_NAME = 431;// 提交聊天记录，通过名字
	public static final int C_CHATITEM_PINDAO_OPERATION = 432;// 聊天频道操作
	// public static final int SC_CHATITEM_COMMIT = 316;// 提交聊天记录
	public static final int CS_CHATITEM_MAXNUM = 10002;// 聊天记录最大条数

	/**************************** 战斗 **************************************/
	public static final int CS_COMBAT_SKILL_LIST = 5200;// 初始化角色技能
	public static final int CS_LEARN_COMBAT_SKILL = 5201;// 学习、升级技能
	public static final int CS_ABOLISH_COMBAT_SKILL = 5202;// 洗掉技能
	public static final int CS_ABOLISH_ALL_COMBAT_SKILL = 5203;// 洗掉所有技能
	public static final int CS_CAST_SKILL = 5204;// 施放技能
	public static final int SC_CAST_SKILL_FORWORD = 5205;// 施法转发
	public static final int SC_BUFFER_UPDATE = 5206;
	public static final int CS_CAST_CANCEL = 5207; // 施法取消
	public static final int CS_CAST_SKILL_MOVE = 5220;// 位移指令
	// public static final int CS_SING = 5208;
	public static final int SC_SING_FORWARD = 5209;
	public static final int SC_UPDATE_BUFF_TIME = 5210;
	public static final int SC_UPDATE_MODE = 5211;
	public static final int SC_STATE_UPDATE = 5212;
	public static final int SC_NPC_SKILL_FORWARD = 5213;
	public static final int SC_SKILL_DETAIL = 5214;// 查看技能详情
	public static final int SC_DOT_HOT = 5216;// dot hot信息
	public static final int SC_ACTION_UPDATE = 5217;//角色行为更新

	// 设置
	public static final int CS_INIT_SHORTCUT = 12000;// 初始化快捷键
	public static final int CS_SET_SHORTCUT = 12001;// 设置快捷键
	public static final int CS_INIT_MARCO = 12002;// 初始化宏
	public static final int CS_SET_MARCO = 12003;// 宏设置
	public static final int CS_SET_SHORTCUT_SKILL = 12004;// 当修改技能的时候修改快捷栏
	public static final int S_SET_SHORTCUT_SKILL = 12005;// 通知修改某一個快捷栏
	public static final int C_SET_MARCO_SKILLCHANGED = 12006;// 当技能发生修改的时候客户端修改宏，并通知服务器
	/**
	 * 聊天
	 */
	public static final int CS_CHAT_INFOS = 314;// 聊天信息
	public static final int C_CHAT_TEAM = 40028;// 队伍喊话
	public static final int C_CHAT_FAMILY = 40027;// 家族喊话
	public static final int C_CHAT_REAML = 40046;// 阵营喊话
	public static final int C_CHAT_WORLD = 40047;// 世界喊话
	public static final int C_CHAT_SERVER = 585;// 全服喊话,使用喇叭
	public static final int S_CHAT_WORLD_CONFIG = 38;// 确认大喇叭喊话
	public static final int C_CHAT_QU = 586;// 全地图（区）喊话

	/** 接收同屏NPC动画设置指令 **/
	public static final int SC_NPC_SETACIONID = 301;

	/**************************** 通缉令 374 **********************************/
	public static final int CS_WANTED_FILP = 40013;// 翻页
	public static final int SC_WANTED_FILP = 373;
	public static final int SC_WANTED_INFOS = 564;// 通缉令信息16
	public static final int CS_WANTED_SEE = 40011;// 查看信息
	public static final int SC_WANTED_SEE = 371;
	public static final int CS_WANTED_RECV = 40020;// 接通缉令
	public static final int SC_WANTED_RECV = 566;
	public static final int CS_WANTED_ADDENEMY = 40017;// 加为仇敌
	public static final int SC_WANTED_ADDENEMY = 375;
	public static final int CS_WANTED_MYPUBLISH = 40012;// 我的发布
	public static final int SC_WANTED_MYPUBLISH = 372;
	public static final int CS_WANTED_TARGETPOSITION = 40010;// 查看目标位置
	public static final int SC_WANTED_TARGETPOSITION = 370;

	/***************************** 游戏公告  ********************************************/
    public static final int CS_GAME_ANNOUNCEMENT = 39;//请求打开游戏公告
	public static final int SC_GAME_ANNOUNCEMENT = 39;//打开游戏公告
    public static final int CS_GAME_NOTICE_INFO = 601;//请求单元公告内容
    public static final int SC_GAME_NOTICE_INFO = 601;

    /***************************** NPC学习采集  ********************************************/
    public static final int SC_LEARN_COLLECTION = 747;
    public static final int CS_LEARN_COLLECTION_OK = 50003;
    public static final int SC_LEARN_COLLECTION_OK = 745;

    /***************************** NPC遗忘采集  ********************************************/
    public static final int SC_FORGET_COLLECTION = 744;
    public static final int CS_FORGET_COLLECTION_OK = 50002;
    public static final int SC_FORGET_COLLECTION_OK = 746;

	/**************************** 家族5500 - 5600 **************************************/
	public static final int CS_FAMILY_VERIFY = 5501;// 验证是否可以创建家族
	public static final int CS_FAMILY_CREATE = 5502;// 创建家族

	public static final int CS_FAMILY_OTHER_MESSAGE = 472;// 查看其他家族信息
	public static final int SC_FAMILY_OTHER_MESSAGE = 345;

	public static final int CS_FAMILY_APPLY_ADD_NAME = 40038;//通过名字加入家族
	public static final int CS_FAMILY_APPLY_ADD = 473;// 申请加入家族
	public static final int SC_FAMILY_APPLY_ADD = 346;

	public static final int CS_FAMILY_OWN_MESSAGE = 474;// 查看自己家族的信息
	public static final int SC_FAMILY_OWN_MESSAGE = 347;

	public static final int CS_FAMILY_MODIFY_MANIFESTO = 476;// 修改家族宣言
	public static final int SC_FAMILY_MODIFY_MANIFESTO = 348;

	public static final int CS_FAMILY_MODIFY_NOTICE = 477;// 修改家族公告
	public static final int SC_FAMILY_MODIFY_NOTICE = 349;

	public static final int SC_FAMILY_UPDATE_POSITION = 350;// 服务器更新家族职位

	public static final int CS_FAMILY_APPLY_LIST = 478;// 查看家族申请列表
	public static final int SC_FAMILY_APPLY_LIST = 351;

	public static final int CS_FAMILY_INVITE_ADD_NAME = 479;// 通过名字邀请加入家族
	public static final int SC_FAMILY_INVITE_ADD_NAME = 352;

	public static final int CS_FAMILY_INVITE_ADD_ID = 481;// 通过ID邀请加入家族
	public static final int SC_FAMILY_INVITE_ADD_ID = 354;

	public static final int CS_FAMILY_INVITEE_ADD = 480;// 被邀请加入家族
	public static final int SC_FAMILY_INVITEE_ADD = 353;

	public static final int CS_FAMILY_MEMBER_LIST = 482;// 家族成员列表
	public static final int SC_FAMILY_MEMBER_LIST = 355;

	public static final int CS_FAMILY_RATIFY_ADD = 485;// 批准加入家族
	public static final int SC_FAMILY_RATIFY_ADD = 357;

	// public static final int CS_FAMILY_APPLY_LEAVE = 487;//申请离开家族
	// public static final int SC_FAMILY_APPLY_LEAVE = 358;

	public static final int CS_FAMILY_CONFIRM_LEAVE = 488;// 确认离开家族
	public static final int SC_FAMILY_CONFIRM_LEAVE = 359;

	public static final int CS_FAMILY_EXPEL = 489;// 开除成员
	public static final int SC_FAMILY_EXPEL = 360;

	public static final int CS_FAMILY_DISMISS = 490;// 解散家族
	public static final int SC_FAMILY_DISMISS = 361;

	public static final int CS_FAMILY_CANCEL_DISMISS = 491;// 取消解散家族
	public static final int SC_FAMILY_CANCEL_DISMISS = 362;

	public static final int CS_FAMILY_SET_ELDER = 493;// 提拔/免职长老
	public static final int SC_FAMILY_SET_ELDER = 364;

	public static final int CS_FAMILY_DEMISE_SHEIKH = 494;// 禅让族长
	public static final int SC_FAMILY_DEMISE_SHEIKH = 365;

	public static final int CS_FAMILY_APPLY_MERGE = 550;// 申请合并家族
	public static final int SC_FAMILY_APPLY_MERGE = 718;

	public static final int CS_FAMILY_DONATE = 557;// 捐献材料
	public static final int SC_FAMILY_DONATE = 722;

	public static final int CS_FAMILY_LUCKY_OPEN = 40042;//开启抽奖界面
	public static final int SC_FAMILY_LUCKY_OPEN = 384;

	public static final int CS_FAMILY_LUCKY_RESULT = 587;//抽奖结果获得
	public static final int SC_FAMILY_LUCKY_RESULT = 5600;

	/**************************** 战场指令 **************************************/
	public static final int CS_BATTLEFIELD_JOIN_QUEUE_RANDOM = 18001;//随机战场
	public static final int CS_BATTLEFIELD_JOIN_QUEUE_ASSIGN = 18006;//指定战场,指定战场服务器返回指令号使用随机战场的
	public static final int SC_BATTLEFIELD_CONFIRMATION_INTO = 18002;//询问是否进入战场
	public static final int CS_BATTLEFIELD_INTO = 18003;//进入战场
	public static final int CS_BATTLEFIELD_EXIT = 18004;//离开战场

	public static final int SC_BATTLEFIELD_LIST = 18007;//获取战场列表
	public static final int SC_BATTLEFIELD_SCORE = 18008;//战场得分
	public static final int SC_BATTLEFIELD_DEAD = 18009;//战场死亡窗口
	public static final int SC_BATTLEFIELD_FINISH = 18010;//战场结束
	public static final int SC_BATTLEFIELD_FLAG = 18011;//战场旗
	/**************************** 副本指令 **************************************/
	public static final int SC_GAMECARBON_FINISH = 736;//副本通关提示

	public static final int CS_GAMECARBON_INTO = 60001;//立即进入副本
	public static final int CS_GAMECARBON_CHECK = 60002;//检测进入副本资格
	public static final int CS_GAMECARBON_OPEN = 60008;//副本开启界面
	public static final int CS_GAMECARBON_AUTO = 60009;//自动组队
	public static final int CS_GAMECARBON_EXIT = 60010;//取消排队
	public static final int CS_GAMECARBON_ADD = 60011;//额外增次
	public static final int CS_GAMECARBON_UPDATE = 60012;//更新副本



	/**************************** 决斗指令 **************************************/
	public static final int CS_DUEL_REQUEST = 520;//请求决斗
	public static final int CS_DUEL_CONFIRMATION = 521;//回复是否同意决斗 0拒绝 1同意

	public static final int SC_DUEL_QUERY = 730;//询问是否同意决斗
	public static final int SC_DUEL_COUNT_DOWN = 731;//决斗倒计时
	public static final int SC_DUEL_TEMP_FACTION = 732;//临时改变阵营
	/**************************** 兑换大礼包指令 **************************************/
	public static final int SC_GIFT_BAG_OPEN = 70001;//NPC挂接
	public static final int CS_GIFT_BAG_EXCHANGE = 514;//兑换大礼包

	/*******************************************************************
	 * 资源相关指令
	 ******************************************************************/
	public static final int CS_REQUEST_RESOURCE = 901;
	public static final int SC_RECEIVE_RESOURCE = 315;

	public static final int CS_PICKUP_ITEM = 5215;

	/*******************************************************************
	 * 游戏内动画
	 ******************************************************************/
	public static final int CS_END_TRAILER = 559;
	public static final int SC_PLAY_TRAILER = 724;
	public static final int S_PLAY_EUQIP = 725;// 引導玩家,穿裝備
	public static final int S_PLAY_LEARN_SKILL = 726;// 引導玩家学习技能
	public static final int S_PLAY_SET_SKILL = 727;// 引導玩家設置技能
	public static final int S_PLAY_OPEN_TASK = 743;// 引導玩家設置技能

	public static final int CS_SCRIPT_SET_POSITION = 570;
	public static final int CS_SCRIPT_SWITCH_SCENE = 571;
	public static final int S_SYSTEM_INFO = 37;

	//每日任务界面
	public static final int CS_OPEN_ACTIVITY_WINDOW = 572;//每日任务
	public static final int SC_OPEN_ACTIVITY_WINDOW = 737;
	public static final int CS_ACTIVITY_COMPLETE_TASK = 573;//更换任务
	public static final int SC_ACTIVITY_COMPLETE_TASK = 738;
	public static final int CS_ACTIVITY_BUY_TASK = 574;//购买任务
	public static final int SC_ACTIVITY_BUY_TASK = 739;
	public static final int CS_ACTIVITY_COMPLETE_TASK_OK = 575;//确定更换任务
	public static final int SC_ACTIVITY_COMPLETE_TASK_OK = 740;
	public static final int CS_ACTIVITY_BUY_TASK_OK = 576;//确定购买任务
	public static final int SC_ACTIVITY_BUY_TASK_OK = 741;

    //副本活动界面
    public static final int CS_OPEN_FB_ACTIVITY_WINDOW = 999111;//副本活动
    public static final int SC_OPEN_FB_ACTIVITY_WINDOW = 999222;
    public static final int CS_FB_MUST_JION = 999333;//立即参与

	//符咒界面开关
	public static final int CS_CONTROL_SPELL = 6500;//发送打开或者关闭符咒开关
	public static final int SC_CONTROL_SPELL = 6501;

	//打开挂机双倍
	public static final int CS_AUTO_HANGUP = 60018;
	public static final int SC_AUTO_HANGUP = 60018;
	public static final int CS_OPEN_BUY_TWO = 60013;//打开购买多倍
	public static final int SC_OPEN_BUY_TWO = 60013;
	public static final int CS_BUY_TWO = 60014;//确认购买
	public static final int SC_BUY_TWO = 60014;
	public static final int SC_REFRESH_TIME = 60015;//刷新时间

	//装备强化消除
	public static final int C_TO_EQUIPCANCEL = 60016;//请求装备消除
    public static final int C_CONFIRMATION_EQUIPCANCEL = 60017;//确认装备强化消除

	//礼包界面
	public static final int SC_CONTROL_GIFT = 607;

	//显示数据界面
    public static final int SC_SHOWDATA = 608;

    //请求家族商店列表
    public static final int C_OPENLIST_FAMILYSHOP = 60020;

	//天气效果和场景音乐设置
	public static final int SC_SET_WEATHER_AND_MUSIC = 729;

	// //////////////////////////////////////////////////////////////////////////
	// //错误信息提示
	public static final int CS_ERR_MESSAGE = 714;

	// //////////////////////////////////////////////////////////////////////////
	// //异常状态码
	public static final int EXCEPTION_STATE_NORMAL = 0; // 正常
	public static final int EXCEPTION_STATE_ITEM_FREEZE = 1; // 物品冻结中
	public static final int EXCEPTION_STATE_LEVEL_LIMIT = 2; // 角色级别不够
	public static final int EXCEPTION_STATE_ITEM_MISS = 3; // 角色身上没有此物品
	public static final int EXCEPTION_STATE_ITEM_NOT_ENOUGH = 4; // 角色身上该物品数目不够
	public static final int EXCEPTION_STATE_ITEM_INEFFICACY = 5; // 物品无效
	public static final int EXCEPTION_STATE_PACKAGE_FULL = 6; // 背包满
	public static final int EXCEPTION_STATE_TRADE_SUC = 7; // 交易成功
	public static final int EXCEPTION_STATE_TRADE_FAIL = 8; // 交易失败
	public static final int EXCEPTION_STATE_MONEY_NOT_ENOUGH = 9; // 金钱不足
	public static final int EXCEPTION_STATE_ITEM_SOLDOUT = 10; // 商店物品已经卖完
	public static final int EXCEPTION_STATE_ITEM_NUM_OVER_LIMIT = 11; // 角色已经超过最大购买数
	public static final int EXCEPTION_STATE_OTHER_ERROR = 100; // 其它错误
	public static final int EXCEPTION_STATE_FATAL_ERROR = 101; // 致命错误
	// //
	// //////////////////////////////////////////////////////////////////////////
}
